package ace.module.product.core.impl.controller.rest.rpc;

import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.Valid;
import lombok.AllArgsConstructor;
import lombok.experimental.Delegate;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import ace.cmp.rest.spring.data.jdbc.querydsl.core.controller.sdk.AbstractSdkRestController;
import ace.cmp.security.oauth2.resource.server.core.annotation.PreAuthorizeIsInternalClient;
import ace.module.common.api.annotation.ApiRemoteImplementPriority;
import ace.module.product.api.model.dto.PmsProductDetailDto;
import ace.module.product.core.impl.dao.entity.PmsProductDetail;
import ace.module.product.sdk.core.feign.impl.PmsProductDetailFeign;
import ace.module.product.api.PmsProductDetailApi;

/**
* 商品详情 rpc controller.
*
* @author Caspar
*/
@Tag(name = "商品详情-RPC-API")
@PreAuthorizeIsInternalClient
@ApiRemoteImplementPriority
@AllArgsConstructor
@RestController
@RequestMapping(PmsProductDetailFeign.PATH)
public class PmsProductDetailRpcController implements PmsProductDetailFeign {

  @Delegate
  private final PmsProductDetailApi pmsProductDetailApi;
  
}
